package com.macro.mall.dao.cms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.cms.CmsHelpCategoryDO;
import com.macro.mall.model.cms.CmsHelpCategoryQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmsHelpCategoryMapper extends BaseMapper<CmsHelpCategoryDO> {
    long countByExample(CmsHelpCategoryQuery example);

    int deleteByExample(CmsHelpCategoryQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(CmsHelpCategoryDO record);

    int insertSelective(CmsHelpCategoryDO record);

    List<CmsHelpCategoryDO> selectByExample(CmsHelpCategoryQuery example);

    CmsHelpCategoryDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CmsHelpCategoryDO record, @Param("example") CmsHelpCategoryQuery example);

    int updateByExample(@Param("record") CmsHelpCategoryDO record, @Param("example") CmsHelpCategoryQuery example);

    int updateByPrimaryKeySelective(CmsHelpCategoryDO record);

    int updateByPrimaryKey(CmsHelpCategoryDO record);
}
